package com.mxs.qrcode;

import com.github.houbb.pinyin.api.impl.Pinyin;
import com.github.houbb.pinyin.api.impl.PinyinContext;
import com.github.houbb.pinyin.spi.*;
import com.github.houbb.pinyin.support.chinese.SimplePinyinChinese;
import com.github.houbb.pinyin.support.data.PinyinData;
import com.github.houbb.pinyin.support.segment.CharPinyinSegment;
import com.github.houbb.pinyin.support.segment.DefaultPinyinSegment;
import com.github.houbb.pinyin.support.style.*;
import com.github.houbb.pinyin.support.tone.DefaultPinyinTone;
import com.mxs.qrcode.utils.CnToStrokeCount;
import com.mxs.qrcode.utils.PinyinUtil;
import com.mxs.qrcode.utils.jwt.JwtUtils;
import org.junit.jupiter.api.Test;

public class test {

    @Test
    void pinyin(){
        System.out.println(PinyinUtil.getPinyin("长长长长长长消"));
    }

    @Test
    void jwt(){
        String token = JwtUtils.createJWT("id","",1111L);
        System.out.println(token);
    }
    @Test
    void csCount(){
        String s = new String();
        int i = CnToStrokeCount.getStrokeCount( "邦");
        System.out.println(i);
    }
}
